<template>
  <div class="app-container">
    <IframeBox v-if="iframesEnable" />
  </div>
</template>

<script>
import { IFRAMES_ENABLE } from '@/utils/iframes/iframes-config'
import iframeMixin from '@/utils/iframes/iframes-mixin'
import IframeBox from '@/components/Iframes/index.vue'
export default {
  name: 'Diagrams',
  components: {
    IframeBox
  },
  mixins: [iframeMixin],
  data() {
    return {
      PAGE_ID: this.$route.meta.id,
      iframesEnable: IFRAMES_ENABLE
    }
  },
  created() {
    console.log('mixin之后执行')
  }
}
</script>
